<!DOCTYPE html>
<html lang="en" xmlns:sec="http://wwww.thymeleaf.org/thymeleaf-extras-springsecurity6">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>main1</h1>
<span sec:authorize="isAuthenticated()">用户名: 吴胜杰</span>
</body>
</html>